﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OpenWeatherMap.API
{
    sealed internal class FindName : Status
    {
        public Int32 count { get; set; }
        public Location[] list { get; set; } 
        /*
         * {"message":"",
         * "cod":"200",
         * "type":"base",
         * "calctime":" mysql = 0.0029 mongo = 0.0004 ip = 0.0029 find = 0.0001 list = 0.0018 fetch = 0.0015 total=0.0096",
         * "units":"internal",
         * "count":3,
         * "list":[
         * {
         *      "id":524901,
         *      "coord":{"lat":55.75222,"lon":37.615555},
         *      "name":"Moscow",
         *      "main":
         *          {"temp":274.19,
         *          "pressure":1002,
         *          "temp_min":273.15,
         *          "temp_max":275.45},
         *       "dt":1356685198,
         *       "date":"2012-12-28 08:59:58",
         *       "wind":{"speed":6,"deg":190},
         *       "clouds":{"all":75},
         *       "weather":[
         *          {"id":622,"main":"Snow","description":"heavy shower snow","icon":"13d"},
         *          {"id":602,"main":"Snow","description":"heavy snow","icon":"13d"}],
         *       "sys":{"country":"RU","population":1000000},
         *       "url":"http:\/\/openweathermap.org\/city\/524901"},
         *{
         *      "id":5601538,
         *      "coord":{"lat":46.732391,"lon":-117.000168},
         *      "name":"Moscow","main":{"temp":272.11,"pressure":1020,"humidity":100,"temp_min":271.15,"temp_max":275.15},"dt":1356683100,"date":"2012-12-28 08:25:00","wind":{"speed":0,"deg":0},"clouds":{"all":90},"weather":[{"id":701,"main":"Mist","description":"mist","icon":"50n"}],"sys":{"country":"US","population":23800},"url":"http:\/\/openweathermap.org\/city\/5601538"},{"id":5202009,"coord":{"lat":41.33675,"lon":-75.518517},"name":"Moscow","main":{"temp":268.93,"pressure":1014,"humidity":68,"temp_min":267.15,"temp_max":270.15},"dt":1356678180,"date":"2012-12-28 07:03:00","wind":{"speed":7.2,"deg":330,"gust":11.3},"clouds":{"all":90},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"sys":{"country":"US","population":2026},"url":"http:\/\/openweathermap.org\/city\/5202009"}]}
         */

    }
}